<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  
  <style>
    body{
      margin:0;padding:0;
    }
    div {
      width: 2.6667rem;
      height: 26.6667vw;
      background-color: red;
    }
    
  </style>
</head>
<body>
  <div>
   
  </div>
  <script src="./lib-flexible.js"></script>
  <script>
    let ten=[1,2,3,22,4,5,6,7,8]
    let yes= ten.reduce((pre,next)=>{
      return pre> next? pre: next
    })
    console.log(yes);
  </script>
</body>

</html>